<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE head PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/static/include/common.inc"%>
<link rel="stylesheet" href="static/admin/css/layui.css">
<link rel="stylesheet" href="static/admin/css/admin-self.css">
<link rel="stylesheet" href="static/admin/css/main.css" media="all">
<link rel="stylesheet" href="static/layui_v2.2.3/css/zbyui.css">
<script src="static/js/jquery-1.11.2.js"></script>
</head>
<body>
	<form class="layui-form" action="">
		<div class="layui-form-item">
			<label class="layui-form-label">名称：</label>
			<div class="layui-input-block">
				<input type="text" value="${article.articleName }" required lay-verify="required" autocomplete="off" class="layui-input" style="border: 0px;" readonly="readonly">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">发布时间：</label>
			<div class="layui-input-block">
				<input type="text" value="${article.releaseTimeStr }" required lay-verify="required" autocomplete="off" class="layui-input" style="border: 0px;" readonly="readonly">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">阅读次数：</label>
			<div class="layui-input-block">
				<input type="text" value="${article.readNum }" required lay-verify="required" autocomplete="off" class="layui-input" style="border: 0px;" readonly="readonly">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">类型：</label>
			<div class="layui-input-block">
				<input type="text" value="${article.typeStr }" required lay-verify="required"  autocomplete="off" class="layui-input" style="border: 0px;" readonly="readonly">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">状态：</label>
			<div class="layui-input-block">
				<input type="text" value="${article.articleStatusStr }" required lay-verify="required" autocomplete="off" class="layui-input" style="border: 0px;" readonly="readonly">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">正文：</label>
			<div class="layui-input-block">
				<!-- 加载编辑器的容器 -->
				<script id="container" name="content" type="text/plain">
        			${article.content}
    			</script>
			</div>
		</div>
	</form>
	<!-- 配置文件 -->
	<script type="text/javascript" src="static/ueditor/ueditor.config.js"></script>
	<!-- 编辑器源码文件 -->
	<script type="text/javascript" src="static/ueditor/ueditor.all.min.js"></script>
	<script type="text/javascript">
	<!-- 实例化编辑器 -->
		var ue = UE.getEditor('container', {
			initialFrameWidth : 570,
			initialFrameHeight : 200,
			toolbars : [],
			readonly : true
		});
		
	</script>
</body>
</html>